package com.mlming.springboot.dao;

import com.mlming.springboot.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    int countByUsername(String username);
    int countBySchoolNum(String schoolNum);

    User selectBySchoolNum(String schoolNum);
}